﻿@using xConnected.Common.ExpertProfile
@*<div data-bind="with: companyAdvancedSearch">
<label>@Resources.ProfilesPerPage:</label><input class="span1" data-bind="value: PageSize" />
<div id="paging" class="pagination-centered">
    <ul class="pager">
        <li>
            <a id="first" href="#" data-bind="click: function() { $root.firstPageCompanies(); }">|←</a>
        </li>
        <li>
            <a id="prev" href="#" data-bind="click: function () { $root.previousPageCompanies(); }">←</a>
        </li>
        <!-- ko foreach: ko.utils.range(0, $root.pagesCountCompanies() - 1) -->
        <li data-bind="css: { 'active'  : $data ==  $root.companyAdvancedSearch().PageIndex() }">
            <a href="#" data-bind="text: ($data + 1), click: function() { $root.pageNumberCompanies($data) }">
            </a>
        </li>
        <!-- /ko -->
        <li>
            <a title="Next Page" href="#" data-bind="click: function() { $root.nextPageCompanies(); }"> →</a>
        </li>
        <li>
            <a title="Last Page" href="#" data-bind="click: function() { $root.lastPageCompanies(); }"> →|</a>
        </li>
    </ul>
</div>
</div>*@
